package com.gourd.common.rbac.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gourd.common.rbac.entity.RbacUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户操作dao
 *
 * @author gourd
 * @date 2019-04-02 17:26:16
 * Created by CodeGen .
 */
@Repository
public interface RbacUserDao extends BaseMapper<RbacUser> {

    RbacUser getByAccount(@Param("account") String account);

    List<RbacUser> findAll();

}
